public class Dog extends Animal implements IRunable {
    public Dog(String name) {
        super(name);
    }

    @Override
    public void running() {
        System.out.println(name+"正在跑");
    }
}
